package com.cndatacom.teleweb.dao;

import com.cndatacom.teleweb.common.PaginationModel;
import com.cndatacom.teleweb.model.QuestionAnswer;

public interface IQuestionAnswerDao {
	public QuestionAnswer getQuestionAnswerById(int questionId);
	public PaginationModel getAllQuestionAnswer(int offset, int pageSize);
	public PaginationModel getPendingQuestionAnswer(int offset, int pageSize);
	public PaginationModel getPublishQuestionAnswer(int offset, int pageSize);
	public QuestionAnswer addQuestionAnswer(QuestionAnswer questionAnswer);
	public boolean delQuestionAnswer(QuestionAnswer questionAnswer);
	public QuestionAnswer updateQuestionAnswer(QuestionAnswer questionAnswer);
}
